#if !defined(__APP_POOL_H__)
#define __APP_POOL_H__

typedef struct 
{
    int (* mq_task)(void * arg);
    void * arg;
}MQ_TASK_T;


int app_pool_init(int thread_num);

void app_pool_destroy(void);

int app_pool_registerMqTask(int (* mq_task)(void * arg), void * arg);

#endif // __APP_POOL_H__
